#include "battle.h"

//英雄状态打印
void Print_Hero_Data(herodata hero1, herodata hero2)
{
	printf("\n");
	printf("\n");
	printf("\t%10s", hero1.name);
	printf("       \tMP:");
	while (hero1.MP > 0)
	{
		printf("*");
		hero1.MP--;
	}

	printf("\t%50s", hero2.name);
	printf("       \tMP:");
	while (hero2.MP > 0)
	{
		printf("*");
		hero2.MP--;
	}
	printf("\n");

	printf("\t%7s", "HP:");
	while (hero1.HP > 0)
	{
		printf("+");
		hero1.HP -= 5;
	}

	printf("\t%39s", "HP:");
	while (hero2.HP > 0)
	{
		printf("+");
		hero2.HP -= 5;
	}

	printf("\n");
	printf("\n");
	printf("\n");
	printf("\n");
}